import request from '@/utils/request'
import type { PageDto, PageReqDto, PagesDto } from '../types'
import type { ServeCompanyDto } from './type'

/**
 * 获取派遣单位列表
 *
 * @param params 请求参数，包含 CustomReqDto 和 serveCompanyName参数
 * @returns 
 */
export function getServeCompanyList(params: {serveCompanyName:string}): Promise<ServeCompanyDto[]> {
    return request.get('/crm-prod/period-insur/serve-company/comb-svc-list', {
        params
    })
}
